<?php
/*
 * Assign variables to template engine
 */

$sqlnum = $db -> db_count();
$sqltime = $db -> db_time();

$tpl -> tpl_assign('sqlnum');
$tpl -> tpl_assign('sqltime');
$tpl -> tpl_assign('themeroot');
$tpl -> tpl_assign('sitename');
$tpl -> tpl_assign('pagetitle');
$tpl -> tpl_assign('additional');
$tpl -> tpl_assign('encoding');
$tpl -> tpl_assign('footer');
$tpl -> tpl_assign('slogan');
$tpl -> tpl_assign('content');
$tpl -> tpl_assign('date');
$tpl -> tpl_assign('time');
$tpl -> tpl_assign('bodytag');
if($rss == '')
{
	$rss = '#" onclick="alert(\'' . LANG_079 . '\');';
}
$tpl -> tpl_assign('rss');
$tpl -> tpl_assign('keywords');
$tpl -> tpl_assign('description');
$tpl -> tpl_assign('cplink');


/*
 * Output content to browser
 */

$tpl -> template_output('pungcms', $assigned);

?>